package ch4;

import java.util.Scanner;

public class ForTest {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		System.out.print("请输入一个数：");
		int k = in.nextInt();
		for (int i = 0, j = k; i <= k; i++, j--) {
			System.out.println(i + "+" + j + "=" + (i + j));
		}
		//
	}

}
